package NvWa_SimpleFactory_01.Impl;
import NvWa_SimpleFactory_01.Interface.Person;

public class Man implements Person {
    @Override
    public void show() {
        System.out.println("I am a man.");
    }

    @Override
    public void eat() {
        System.out.println("Man is eating.");
    }

    @Override
    public void sleep() {
        System.out.println("Man is sleeping.");
    }

    @Override
    public void work() {
        System.out.println("Man is working.");
    }
}
